RSSSL\Security\WordPress\Two_Fa\Rsssl_Two_Factor D

Total Complexity 202
Dependencies 13
Dependents 2
Total lines 1,679
Lines of code 895
Logical lines of code 478
Comment lines 481
Methods 45
Properties 1

Methods 45

Method Rating Maintainability Complexity Lines of code
rsssl_login_form_validate_2fa_email()
D
25
26 186
rsssl_login_form_validate_2fa()
B
32 19 112
onboarding_user_html()
A
36 12 79
maybe_skip_auth()
A
50 8 26
is_user_using_two_factor()
A
52 8 26
upgrade()
A
51 8 23
login_html()
A
47 7 37
add_hooks()
A
47 7 34
get_configured_providers()
A
56 8 18
rsssl_maybe_show_reset_password_notice()
A
49 7 32
rsssl_wp_login()
S
52 6 24
current_user_being_edited()
S
60 5 12
rsssl_enable_dummy_method_for_debug()
S
61 5 11
get_primary_provider_for_user()
S
55 4 20
rsssl_filter_authenticate()
S
64 5 9
show_expired_onboarding_error()
S
65 5 8
is_valid_user_action()
S
62 5 10
is_api_request()
S
66 5 9
show_two_factor_login()
S
59 4 13
handle_not_post_request()
S
57 3 17
rsssl_filter_authenticate_block_cookies()
S
69 4 6
get_user_settings_page_url()
S
62 3 12
maybe_show_last_login_failure_notice()
S
54 2 24
send_password_reset_emails()
S
66 3 8
is_user_rate_limited()
S
64 3 9
show_password_reset_error()
S
58 1 19
add_module_to_script()
S
70 2 6
login_url()
S
68 2 7
get_user_time_delay()
S
62 2 10
rsssl_collect_auth_cookie_tokens()
S
70 2 6
is_wp_debug()
S
79 2 3
enable_dummy_method_for_debug()
S
70 2 6
sanitize_request_data()
S
76 2 3
is_onboarding_complete()
S
70 2 6
rememberme()
S
67 2 7
destroy_current_session_for_user()
S
70 2 6
get_user_update_action_url()
S
63 1 12
enqueue_onboarding_scripts()
S
71 1 5
get_request_data()
S
66 1 7
reset_compromised_password()
S
64 1 9
should_reset_password()
S
71 1 5
get_available_providers_for_user()
S
79 1 3
is_user_api_login_enabled()
S
78 1 3
rsssl_clear_password_reset_notice()
S
79 1 3
enqueue_onboarding_styles()
S
74 1 4